package com.example.sugar.service;

import com.example.sugar.bean.ExamOne;
import com.example.sugar.bean.ExamTwo;
import com.example.sugar.mapper.ExamStateMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class ExamStateServiceImpl implements ExamStateService{

    @Autowired
    ExamStateMapper examStateMapper;
    @Override
    public ExamOne selectAnswer(Integer date) {
        return examStateMapper.selectAnswer(date);
    }

    @Override
    public List<ExamTwo> selectNum(Integer date) {
        return examStateMapper.selectNum(date);
    }
}
